html,
body {
  height: 100%;
  width: 100%;
  overflow: visible;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  background: #f0f2f5;
}

// =====宽、高 开始=====
.width-140px {
  width: 140px;
}

.height-100 {
  height: 100%;
}

.max-height-100-minus-66px {
  max-height: calc(100% - 66px);
}
// =====宽、高 结束=====


// =====弹性布局 开始=====
.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-flex-end {
  justify-content: flex-end;
}
// =====弹性布局 结束=====


// ====网格布局 开始=====
.grid {
  display: grid;
}

.grid-column-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-column-3 {
  grid-template-columns: repeat(3, 1fr);
}
// ====网格布局 结束=====


// =====间距 开始=====
.gap-10px {
  gap: 10px;
}

.row-gap-5px {
  row-gap: 5px;
}

.row-gap-10px {
  row-gap: 10px;
}

.column-gap-5px {
  column-gap: 5px;
}

.column-gap-12px {
  column-gap: 12px;
}

.column-gap-16px {
  column-gap: 16px;
}

.column-gap-24px {
  column-gap: 24px;
}

.column-gap-36px {
  column-gap: 36px;
}

.column-gap-48px {
  column-gap: 48px;
}

.column-gap-64px {
  column-gap: 64px;
}

.mt-12px {
  margin-top: 12px;
}

.mt-24px {
  margin-top: 24px;
}

.mt-36px {
  margin-top: 36px;
}

.mb-6px {
  margin-bottom: 6px;
}

.mb-12px {
  margin-bottom: 12px;
}

.p-lr-16px {
  padding-left: 16px;
  padding-right: 16px;
}

.padding-16px {
  padding: 16px;
}
// =====间距 结束=====


// =====颜色 开始=====
.bg-color-white {
  background-color: #fff;
}

.font-777 {
  color: #777;
}

.font-606266 {
  color: #606266;
}
// =====颜色 结束=====

// =====盒子 开始=====
.box-border-box {
  box-sizing: border-box;
}
// =====盒子 结束=====

// =====标题 开始=====
.title-priamry {
 font-size: 14px;
 color: #000;
 padding-left: 6px;
 border-left: 3px solid #007cff;
 font-weight: bold;
}
// =====标题 结束=====

// =====字体 开始=====
.white-nowrap {
  white-space: nowrap;
}
// =====字体 结束=====

// =====鼠标 开始=====
.cursor-pointer {
  cursor: pointer;
}
// =====鼠标 结束=====

.upload_xy {
  .el-upload-list {
    width: 400px;

    .el-upload-list__item-name {
      padding: 4px;
    }
  }
}

.right_top_hot_dot_father {
  position: relative;
  cursor: pointer;

  &:hover .right_top_hot_dot_child {
    opacity: 1;
  }

  .right_top_hot_dot_child {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #f56c6c;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    line-height: 10px;
    opacity: 0;
    transition: all ease-in-out 0.2s;
  }
}

/* 常用 flex */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.flex_justify_center {
  display: flex;
  justify-content: center;
}

.flex-justify-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-justify-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.flex-align-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.flex-justify-end {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.padding_lr_64 {
  padding: 0 64px !important;
}

.padding_lr_32 {
  padding: 0 32px !important;
}

/* 移动端的时候由于屏幕变小隐藏头部导航栏 */
@media screen and (max-width: 540px) {
  .app-breadcrumb {
    display: none !important;
  }
}

/** 设置滚动条 **/
::-webkit-scrollbar {
  // width: 4px;
  // height: 4px;
}

::-webkit-scrollbar-track {
  // background-color: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  // background: rgba(0, 0, 0, 0.6);
  // background-color: rgba(144, 147, 153, 0.3);
  // background-color: rgba(144, 147, 153, 0.3);
  // border-radius: 2px;
  // box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

// 批量按钮
.multiple_btn {
  font-size: 11px;
  background-color: #fff;
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 2px;
  border: 1px solid #dcdfe6;
  color: rgba($color: $primaryColor, $alpha: 0.6);

  &:hover {
    background-color: #ecf5ff;
    border-color: rgba($primaryColor, 0.2);
  }
}

/* nprogress样式 */
#nprogress .bar {
  background: #007cff !important;
}

#nprogress .spinner-icon {
  border-top-color: #007cff !important;
  border-left-color: #007cff !important;
}

#nprogress .peg {
  box-shadow: 0 0 10px #007cff, 0 0 5px #007cff !important;
}

.app-container {
  height: 100%;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.app-container-inner {
  height: 100%;
  width: 100%;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 12px;
  box-sizing: border-box;
}

.modal_form_content {
  width: 100%;
  box-sizing: border-box;
  padding: 0 112px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;

  .el-form-item {
    margin: 0 !important;
    transition: all 0.4s !important;
    width: 100% !important;

    .el-form-item__label {
      height: 16px !important;
      line-height: 16px !important;
      margin: 0 0 3px 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
    }

    .el-form-item__content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;

      .el-form-item__error--inline {
        padding: 0;
        margin: 3px 0 0 0;
      }

      .el-select {
        width: 100%;
        max-width: unset;

        .el-select__wrapper {
          height: 28px;
        }
      }

      .el-checkbox-group {
        width: 100%;
        height: 16px;
        display: flex;
        gap: 12px;

        .el-checkbox {
          height: 16px;
          gap: 3px;
          margin: 0;

          span.el-checkbox__label {
            padding: 0;
          }
        }
      }

      .el-radio-group {
        height: 16px;
        line-height: 16px;
        gap: 16px;

        .el-radio {
          height: 16px;
          margin: 0;
          line-height: 16px;
          gap: 3px;

          .el-radio__label {
            padding: 0;
          }
        }
      }

      .switch_container {
        display: flex;
        align-items: center;
        gap: 3px;
        height: 20px;

        span {
          height: 20px;
          line-height: 20px;
          white-space: nowrap;
        }
      }
    }
  }

  .swtich-container-size-small {
    display: flex !important;
    column-gap: 7px;
    height: 16px;
    
    .el-form-item__label {
      margin: 0 !important;
      padding: 0;
      height: 14px !important;
      line-height: 14px !important;
    }
    
    .el-form-item__content {
      display: flex;
      flex-direction: row;
      column-gap: 2px;

      .el-switch {
        height: 16px;
      }

      .text {
        height: 14px;
        line-height: 14px;
        white-space: nowrap;
      }
    }
  }

  // 文字和内容放在一行显示
  .same_line {
    display: flex !important;
    flex-direction: row;
    column-gap: 7px;
    align-items: center;

    .el-form-item__label {
      margin: 0 !important;
      padding: 0;
    }
  }

  // el-form-item的内容只有文本时，高度为16px
  .text {
    .el-form-item__content {
      line-height: 16px;
      height: 16px;
    }
  }
}

.radio_container {
  display: flex;
  column-gap: 12px;

  .el-radio {
    display: flex;
    height: 16px;
    margin: 0;
    column-gap: 2px;

    .el-radio__label {
      padding: 0;
      height: 16px;
      line-height: 16px;
    }
  }
}